package com.brainshare.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 活动内容明细对象 sys_banner_item
 * 
 * @author wolong
 * @date 2023-03-13
 */
@ApiModel(value = "SysBannerItem", description = "活动内容明细对象")
public class SysBannerItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动明细主键 */
    @ApiModelProperty("活动明细主键")
    private Long bannerItemId;

    /** 关联活动表主键 */
    @Excel(name = "关联活动表主键")
    @ApiModelProperty("关联活动表主键")
    private Long bannerId;

    /** 文件连接地址 */
    @Excel(name = "文件连接地址")
    @ApiModelProperty("文件连接地址")
    private String fileUrl;

    /** 富文本内容 */
    @Excel(name = "富文本内容")
    @ApiModelProperty("富文本内容")
    private String content;

    public void setBannerItemId(Long bannerItemId) 
    {
        this.bannerItemId = bannerItemId;
    }

    public Long getBannerItemId() 
    {
        return bannerItemId;
    }
    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerItemId", getBannerItemId())
            .append("bannerId", getBannerId())
            .append("fileUrl", getFileUrl())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
